package org.corolla.cloth.entity;

import java.util.HashMap;
import java.util.Map;

import org.junit.Test;

public class AppleTest {

	
	
	@Test
	public void test_it(){
		Map<String, Apple> hm = new HashMap<String, Apple>();
		Apple apple= new Apple(1, "apple1");
		hm.put("a1", apple);
		apple=new Apple(2, "apple2");
		hm.put("a2", apple);
		
		System.out.println(hm.get("a1").getName());
		System.out.println(hm.get("a2").getName());
		
	}
}
